home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / lwmlist / 95.lightwave-10 / 001488_owner-lightwav…mail.webcom.com_Thu Oct 26 22:42:19 1995.msg < prev    next >
Internet Message Format  |  1995-11-07  |  5KB

  1. Received: by mail.webcom.com
  2.     (1.37.109.15/16.2) id AA080012539; Thu, 26 Oct 1995 22:42:19 -0700
  3. Return-Path: <owner-lightwave@mail.webcom.com>
  4. Received: from minnie.risd.edu by mail.webcom.com with SMTP
  5.     (1.37.109.15/16.2) id AA079952530; Thu, 26 Oct 1995 22:42:10 -0700
  6. Received: by minnie.risd.edu; id AA13121; Fri, 27 Oct 1995 01:38:14 -0400
  7. Date: Fri, 27 Oct 1995 01:38:14 -0400 (EDT)
  8. From: Joe Angell <jangell@risd.edu>
  9. Subject: Re: Scene file description
  10. To: robert hood <bhood@netcom.com>
  11. Cc: lightwave@mail.webcom.com
  12. In-Reply-To: <199510270043.RAA07505@netcom8.netcom.com>
  13. Message-Id: <Pine.3.89.9510270152.B10633-0100000@minnie.risd.edu>
  14. Mime-Version: 1.0
  15. Content-Type: TEXT/PLAIN; charset=US-ASCII
  16. Sender: owner-lightwave@mail.webcom.com
  17. Precedence: bulk
  18.  
  19.  
  20. > There used to be (and probably still is) a document that describes
  21. > the LightWave Scene File format.  Does anybody happen to remember where
  22. > it resides?
  23.  
  24. AFAIK, there is no LW Scene File Format docs.  There IS, whoever, an 
  25. Object file format, but it is from LW 2.0.  The file is just ASCII, so 
  26. it should be easy to find.  I had to decode it once, so if you need 
  27. specific info, just EMail me.  Here's the hardest part to figure out...
  28.  
  29.  
  30. LoadObject Objects/Places/RectRoom/RectRoom
  31. ShowObject 4
  32. ObjectMotion (unnamed)
  33.   9
  34.   1
  35.   1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0
  36.   0 0 0.0 0.0 0.0
  37. EndBehavior 1
  38. LockedChannels 29
  39. ParentObject 5
  40. ShadowOptions 7
  41.  
  42. LoadObject refers to an object to load, including path.  Simple.
  43.  
  44. ShowObject x refers to the method of displaying the object in layout 
  45.     (All, Points, Every-Other Polygon, None, Box... I don't remember the 
  46.     order, but it is the same as in Layout.)
  47.  
  48. ObjectMotion (unnamed)  This is the actual keyframe information.  I think 
  49.     (unnamed) changes to the file of a loaded motion if you loaded a Motion 
  50.     File in, but I'm not sure (just a theory...)
  51.   9    I have no idea what this number means.  AFAIK, it is always 9.
  52.  
  53.   1    The number of keyframes total for this item (see WAY below...)
  54.   
  55.   1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0  These are Position, Rotation & Scale
  56.    |   |   |   |   |   |   |   |   +- Z Scale
  57.    |   |   |   |   |   |   |   +----- Y Scale
  58.    |   |   |   |   |   |   +--------- X Scale
  59.    |   |   |   |   |   +------------- Bank (Rotation)
  60.    |   |   |   |   +----------------- Pitch (Rotation)
  61.    |   |   |   +--------------------- Heading (Rotation)
  62.    |   |   +------------------------- Z Position
  63.    |   +----------------------------- Y Position
  64.    +--------------------------------- X Position
  65.  
  66.    0 0 0.0 0.0 0.0    These are the Spline settings and keyframe #.
  67.    | |  |   |   +-- Bias (-1 to 1)
  68.    | |  |   +------ Continuity (-1 to 1)
  69.    | |  +---------- Tension (-1 to 1)
  70.    | +------------- I have no idea
  71.    +--------------- Current kryframe #
  72.  
  73.    EndBehavior x represents the End Behavior buttion in the Motion Graph, 
  74.     in the same order as they appear there (Stop, Repeat or Reset)
  75.  
  76.    LockedChannels x are the channels that are locked (ie: not able to be 
  77.     rotated/moved/scaled around, which is set by de-selecting an axis
  78.     in Layout).  I'm not sure what the number mean, but it should be 
  79.     easy to figure out.
  80.  
  81.    ParentObject x is the # object that the current item is parented to.  
  82.     I THINK the object numbers start from 0, and I KNOW the object # 
  83.     is assigned when the object is loaded (the 1st object loaded is 0, the 
  84.     2nd is 1, and so on.
  85.  
  86.    ShadowOptions x are the options selected for shadows.  I'm not sure 
  87.     how this number works, either, but should be easy to find out by trial & 
  88.     error...
  89.  
  90. Now, if you have more than 1 keyframe (say, 3), the # of keyframes is set to 
  91. that # (in this case, 3).  Then the settings for the 3 keyframes are 
  92. listed below.  For example...
  93.  
  94. ObjectMotion (unnamed)
  95.   9                  ; Dunno
  96.   3                  ; # of keyframes total
  97.   0.36 0.3 -0.32 0 0 0 1 1 1      ; Position, Rotation & Size for Frame 0
  98.   0 0 0 0 0              ; Frame # (0) and spline settings
  99.   0.36 0.3 -0.32 -25.4 0 0 1 1 1  ; Position, Rotation & Size for Frame 1
  100.   1 0 0 0 0              ; Frame # (1) and spline settings
  101.   0.36 0.3 -0.32 -50.4 0 0 1 1 1  ; Position, Rotation & Size for Frame 5
  102.   5 0 0 0 0              ; Frame # (5) and spline settings
  103.  
  104. That's about it.  Good luck!
  105.  
  106. -- Joe
  107. --
  108. Joe Angell <jangell@risd.edu> sent this message.
  109. To Post a Message           : lightwave@webcom.com
  110. Un/Subscription Requests To : lightwave-request@webcom.com
  111. (DIGEST)                 or : lightwave-digest-request@webcom.com
  112. Administrative Items To     : owner-lightwave@webcom.com